package love.unknown.jdbc;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

//JDBC - 修改和删除
public class Demo03 {
    public static void main(String[] args) throws ClassNotFoundException, SQLException {
        new Fruit(35,"小橘子",10,110,"小橘子真甜");
        Class.forName("com.mysql.jdbc.Driver");
        Connection conn = DriverManager.getConnection("jdbc:mysql://192.168.108.129:3306/fruitdb?characterEncoding=utf-8"
                , "root", "123456");
    }
}
